<#include "/common/layout.html"> 
<@layout title="123">
<script type="text/javascript" src="/js/easyui/easyui_grid.js"></script>
<script type="text/javascript">
	var datagrid;
	var model_name = "/clientVersion";
	var model_title="版本列表";
	$(function() {
		datagrid=$('#form_datagrid').datagrid({
		 	url:model_name+'/grid',
		 	columns:[[    
		        {field:'id',title:'编号',width:100,checkbox:true},
		        {field:'version_name',title:'版本名称',width:100},
		        {field:'version_code',title:'版本号',width:100},
		        {field:'type',title:'版本类型',width:100,
		      		formatter:function(value,row,index){
			      		if(row.type==1){
			      			return "商户版";
			      		}else{
			      			return "个人版";
			      		}
					}
				},
				{field:'download_url',title:'下载地址',width:100},
				{field:'created_time',title:'创建时间',width:100}
		    ]]
		})
	})
</script>
<script type="text/javascript" src="/js/easyui/easyui_grid_common.js"></script>
</head>
<#include "/common/seach.html" />
<@seach hasSeach=false>
</@seach>
</@layout>